package com.newworld.basketballfire.main.dao.mapper;

import com.newworld.basketballfire.main.bean.ActivityListParam;
import com.newworld.basketballfire.service.model.Activity;

import java.util.List;

/**
 * Created by George on 2019/3/31.
 * ActivityMapper
 */
public interface ActivityMapper {

    void createActivity(Activity activity);

    void updateActivity(Activity activity);

    Activity getActivity(String id);

    void deleteActivity(Activity activity);

    List<Activity> getActivityList(ActivityListParam activityListParam);

    int getActivityListTotalCnt(ActivityListParam activityListParam);
}
